package cn.juque.systemservice.api.dto.sms;

import cn.juque.common.abstracts.AbstractRequestDTO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author nuoka
 * @version 1.0.0
 * <li>IntelliJ IDEA</li>
 * <li></li>
 * @date 2021/9/30 16:07
 **/
@Data
public class CheckCodeDTO extends AbstractRequestDTO {

    /**
     * 手机号
     */
    @NotEmpty(message = "手机号不能为空")
    private String tel;

    /**
     * 验证码
     */
    @NotEmpty(message = "验证码不能为空")
    private String code;
}
